<?php


namespace app\api\model;


class ProductImage extends BaseModel {
    protected $hidden = ['delete_time','img_id','product_id'];


    //获取商品详情图片
    public function imgUrls(){
        return $this->belongsTo('Image','img_id','id');
    }


}





